package genstream

import java.net.URL

/**
 * Created by IntelliJ IDEA.
 * User: zslajchrt
 * Date: 16.4.11
 * Time: 13:49
 * To change this template use File | Settings | File Templates.
 */

class URLInputStreamIterator(urls: List[URL]) extends ListStreamIterator(urls.map(new URLInputStreamHolder(_)))

class URLInputStreamHolder(url: URL) extends InputStreamHolder {
  lazy val getInputStream = url.openStream
}